<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	<style type="text/css">
		
		
		
		div{
			width: 10px;
			height: 100px;
			background-color: #000000 ;
			border-radius: 5px;
			display: inline-block;
			animation-name: wait;/* wait为动画名字 */
			animation-duration: 1s;
			animation-iteration-count: infinite;
			animation-timing-function: ease-in-out;
			
		}
		@-webkit-keyframes wait{
			/* from{}
			to{}
			默认两帧 */
			
			0%{
				transform: scaleY(0.4);
			}
			20%{
				transform: scaleY(1);
			}
			40%{
				transform: scaleY(0.4);
			}
			100%{
				transform: scaleY(0.4);
			}

			
		}
		div:nth-child(2){
			animation-delay: 0.1s;
		}	
		div:nth-child(3){
			animation-delay: 0.2s;
		}	
		div:nth-child(4){
			animation-delay: 0.3s;
		}	
		div:nth-child(5){
			animation-delay: 0.4s;
		}	
		div:nth-child(6){
			animation-delay: 0.5s;
		}	
	
		
	</style>
	</head>
	<body>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		
	</body>
</html>
